home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 039a / mawk10.zip / PARSE.H < prev    next >
C/C++ Source or Header  |  1991-10-05  |  2KB  |  88 lines

  1. #define UNEXPECTED 257
  2. #define BAD_DECIMAL 258
  3. #define NL 259
  4. #define SEMI_COLON 260
  5. #define LBRACE 261
  6. #define RBRACE 262
  7. #define LBOX 263
  8. #define RBOX 264
  9. #define COMMA 265
  10. #define IO_OUT 266
  11. #define P_OR 267
  12. #define P_AND 268
  13. #define ASSIGN 269
  14. #define ADD_ASG 270
  15. #define SUB_ASG 271
  16. #define MUL_ASG 272
  17. #define DIV_ASG 273
  18. #define MOD_ASG 274
  19. #define POW_ASG 275
  20. #define QMARK 276
  21. #define COLON 277
  22. #define OR 278
  23. #define AND 279
  24. #define IN 280
  25. #define MATCH 281
  26. #define NOT_MATCH 282
  27. #define EQ 283
  28. #define NEQ 284
  29. #define LT 285
  30. #define LTE 286
  31. #define GT 287
  32. #define GTE 288
  33. #define CAT 289
  34. #define GETLINE 290
  35. #define PLUS 291
  36. #define MINUS 292
  37. #define MUL 293
  38. #define DIV 294
  39. #define MOD 295
  40. #define NOT 296
  41. #define UMINUS 297
  42. #define IO_IN 298
  43. #define PIPE 299
  44. #define POW 300
  45. #define INC_or_DEC 301
  46. #define DOLLAR 302
  47. #define FIELD 303
  48. #define LPAREN 304
  49. #define RPAREN 305
  50. #define CONSTANT 306
  51. #define RE 307
  52. #define ID 308
  53. #define FUNCT_ID 309
  54. #define BUILTIN 310
  55. #define PRINT 311
  56. #define PRINTF 312
  57. #define SPLIT 313
  58. #define MATCH_FUNC 314
  59. #define SUB 315
  60. #define GSUB 316
  61. #define LENGTH 317
  62. #define DO 318
  63. #define WHILE 319
  64. #define FOR 320
  65. #define BREAK 321
  66. #define CONTINUE 322
  67. #define IF 323
  68. #define ELSE 324
  69. #define DELETE 325
  70. #define BEGIN 326
  71. #define END 327
  72. #define EXIT 328
  73. #define NEXT 329
  74. #define RETURN 330
  75. #define FUNCTION 331
  76. typedef union{
  77. CELL *cp ;
  78. SYMTAB *stp ;
  79. INST  *start ; /* code starting address */
  80. PF_CP  fp ;  /* ptr to a (print/printf) or (sub/gsub) function */
  81. BI_REC *bip ; /* ptr to info about a builtin */
  82. FBLOCK  *fbp  ; /* ptr to a function block */
  83. ARG2_REC *arg2p ;
  84. CA_REC   *ca_p  ;
  85. int   ival ;
  86. } YYSTYPE;
  87. extern YYSTYPE yylval;
  88.